export enum TimeStrategy {
  CALL_AUCTION = 'CALL_AUCTION', // 集合竞价
  TRADING = 'TRADING', // 盘中
  AT_THE_CLOSE_ORDER = 'AT_THE_CLOSE_ORDER', // 尾盘
}

export enum RecognitionStrategy {
  OPEN_HIGH = 'OPEN_HIGH', // 高开
  HIGH_WALK = 'HIGH_WALK', // 高走
  RED_THREE_SOLDIERS = 'RED_THREE_SOLDIERS', // 红三兵
  BULLISH = 'BULLISH', // 阳线（大涨后，大跌出现阳线）
  BULLISH_AFTER_MULTIPLE_BEARISH = 'BULLISH_AFTER_MULTIPLE_BEARISH', // 2个及2个以上阴线后出现阳线
  LIMIT_UP_OF_TEN_DAYS = 'LIMIT_UP_OF_TEN_DAYS', // 十日内涨停
  MULTIPLE_VOLUME_AND_PRICE_UP = 'MULTIPLE_VOLUME_AND_PRICE_UP', // 多日量价齐升小阳线
}

export const RecognitionStrategyCN: Record<RecognitionStrategy, string> = {
  [RecognitionStrategy.OPEN_HIGH]: '高开',
  [RecognitionStrategy.HIGH_WALK]: '高走',
  [RecognitionStrategy.RED_THREE_SOLDIERS]: '红三兵',
  [RecognitionStrategy.BULLISH]: '阳线',
  [RecognitionStrategy.BULLISH_AFTER_MULTIPLE_BEARISH]: '多阴一阳',
  [RecognitionStrategy.LIMIT_UP_OF_TEN_DAYS]: '十日内涨停',
  [RecognitionStrategy.MULTIPLE_VOLUME_AND_PRICE_UP]: '多日量价齐升小阳线',
};
